package psn.qiuyiping.autocad.dxffile;

@Dxf0Name("LAYER")
@SubClassName("AcDbLayerTableRecord")
public class DxfLayer extends DxfTableRecord {
    @DxfCode(6)
    String ltypeName;
    @DxfCode(62)
    int colorIndex;
    @DxfCode(290)
    boolean printable;
    
    public boolean isFrozen(){
        return (flag & 1) > 0;
    }
    
    public boolean isLocked(){
        return (flag & 4) > 0;
    }
}
